package org.victoriest.server.dto;

import java.io.Serializable;

public class MessageModel implements Serializable, VictoriestDto  {

	public static final int TYPE_HALL_MSG = 1;
	
	public static final int TYPE_ROOM_MSG = 2;
	
	public static final int TYPE_PRIVATE_MSG = 3;
	
	private static final long serialVersionUID = 7611572136161157049L;

	private int senderChannelId;
	
	private String senderName;
	
	private int receiverChannelOrGroupId;
	
	private int type;
	
	private String content;

	public int getSenderChannelId() {
		return senderChannelId;
	}

	public void setSenderChannelId(int senderChannelId) {
		this.senderChannelId = senderChannelId;
	}

	public String getSenderName() {
		return senderName;
	}

	public void setSenderName(String senderName) {
		this.senderName = senderName;
	}

	public int getReceiverChannelOrGroupId() {
		return receiverChannelOrGroupId;
	}

	public void setReceiverChannelOrGroupId(int receiverChannelOrGroupId) {
		this.receiverChannelOrGroupId = receiverChannelOrGroupId;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
}
